package com.sxkf.template.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 评论点赞
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-12-17 18:41:45
 */
@Getter
@Setter
@TableName("t_comment_like")
@ApiModel(value = "CommentLike对象", description = "评论点赞")
public class CommentLike implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id",hidden = true)
      @TableId("id")
    private String id;

    @ApiModelProperty(value = "类型（1=帖子评论，2=商品评论）",hidden = true)
    @TableField("type")
    private String type;

    @ApiModelProperty("被点赞评论id")
    @TableField("comment_id")
    private String commentId;

    @ApiModelProperty("点赞的用户id")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "创建时间",hidden = true)
      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


}
